package com.radish.springcloud.myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.radish.springcloud.entities.CommonResult;

/**
 * @author: Radish
 * @date: 2020-08-02 15:40
 */
public class CustomerBlockHandler {

    public static CommonResult handleException(BlockException exception) {
        return new CommonResult(2020, "自定义的限流处理信息....CustomerBlockHandler");
    }
}
